import request from "../utils/request";

// 学生查看指导资源书
export const guidelinesList = data => {
    return request({
        method: 'POST',
        url: '/guidanceResources/studentGuidance',
        data
    })
}
//管理员(教师)查看试题
export const guidelinesAdmin = data => {
    return request({
        method: 'POST',
        url: '/guidanceResources/findPageGuidance',
        data
    })
}
//删除指导书
export const guidelinesDelete = id => {
    return request({
        method: 'GET',
        url: '/guidanceResources/deleteGuidance?id=' + id
    })
}
//上传实验指导资源书
export const guidelinesAdd = data => {
    return request({
        method: 'POST',
        url: '/guidanceResources/addGuidance',
        data
    })
}
export const setStatus = id => {
    return request({
        method: 'GET',
        url: '/guidanceResources/setStatus?id=' + id
    })
}


export const setCultivateStatus = id => {
    return request({
        method: 'GET',
        url: '/cultivate/setStatus?id=' + id
    })
}